package com.zhonku.antifack.server.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Goodinfo entity. @author MyEclipse Persistence Tools
 */

public class Goodinfo implements java.io.Serializable {

	// Fields

	private String id;
	private String name;
	private String manufacturerName;
	private Integer amount;
	private String imageUrl;
	private String comments;
	private Double price;
	private Set manufacturers = new HashSet(0);
	private Set goodses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Goodinfo() {
	}

	/** minimal constructor */
	public Goodinfo(String id) {
		this.id = id;
	}

	/** full constructor */
	public Goodinfo(String id, String name, String manufacturerName,
			Integer amount, String imageUrl, String comments, Double price,
			Set manufacturers, Set goodses) {
		this.id = id;
		this.name = name;
		this.manufacturerName = manufacturerName;
		this.amount = amount;
		this.imageUrl = imageUrl;
		this.comments = comments;
		this.price = price;
		this.manufacturers = manufacturers;
		this.goodses = goodses;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getManufacturerName() {
		return this.manufacturerName;
	}

	public void setManufacturerName(String manufacturerName) {
		this.manufacturerName = manufacturerName;
	}

	public Integer getAmount() {
		return this.amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public String getImageUrl() {
		return this.imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public String getComments() {
		return this.comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Set getManufacturers() {
		return this.manufacturers;
	}

	public void setManufacturers(Set manufacturers) {
		this.manufacturers = manufacturers;
	}

	public Set getGoodses() {
		return this.goodses;
	}

	public void setGoodses(Set goodses) {
		this.goodses = goodses;
	}

}